extends Area2D

var controller
@export var level = "tutorial"
@export var checkpoint = 0

func _ready():
	controller = get_node("/root/Controller")
	
func _on_Teleport_body_enter( body ):
	controller.root.change_map(level,checkpoint)
